/*
 * @Description: 
 * @Author: zhihong deng
 * @Date: 2021-05-22 00:02:38
 * @LastEditors: zhihong deng
 * @LastEditTime: 2021-07-08 00:54:57
 */
import Vue from 'vue'
import VueRouter from 'vue-router'

import ScreenPage from '@/views/ScreenPage'
import SellerPage from '@/views/SellerPage'
import TrendPage from '@/views/TrendPage'
import MapPage from '@/views/MapPage'
import RankPage from '@/views/RankPage'
import HotPage from '@/views/HotPage'
import StockPage from '@/views/StockPage'
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect: 'screen',
  },
  {
    path: '/screen',
    component: ScreenPage
  },
  {
    path: '/sellerpage',
    name: 'SellerPage',
    component: SellerPage
  },
  {
    path: '/trendpage',
    name: 'TrendPage',
    component: TrendPage
  },
  {
      path: '/mappage',
      name: 'MapPage',
      component: MapPage
  },
  {
    path: '/rankpage',
    name: 'RankPage',
    component: RankPage
  },
  {
    path: '/hotpage',
    name: 'HotPage',
    component: HotPage
  },
  {
    path: '/stockpage',
    name: 'StockPage',
    component: StockPage
  },
]

const router = new VueRouter({
  routes
})

export default router
